#ifndef __USART_H
#define __USART_H

#include "stm32f10x.h"
#include "typedefs.h"

/*camera com use usart4*/

#define CAMERA_UARTx							UART4
#define CAMERA_UART_GPIO_PORT					GPIOC
#define CAMERA_UART_RX_GPIO_PIN					GPIO_Pin_11
#define CAMERA_UART_TX_GPIO_PIN					GPIO_Pin_10
#define CAMERA_UART_CLK							RCC_APB1Periph_UART4
#define CAMERA_UART_IRQn						UART4_IRQn
#define CAMERA_UART_IRQHandler					UART4_IRQHandler

void USART_Config(void);

#endif

